package com.fz.mapper;

import com.fz.entity.Student;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

/**
 * Created by ZCY on 2018-01-16.
 */
public interface StudentMapper {
    public int save(@Param("age") int age, @Param("name") String name);

    @Insert("insert into student values(null,#{name},#{age})")
    public int saveStudent(Student st);
}
